<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title>售水机</title>
		<meta name="keywords"  content="KEYWORDS..." />
		<meta name="description" content="DESCRIPTION..." />
		<meta name="author" content="DeathGhost" />
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name='apple-touch-fullscreen' content='yes'>
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta name="format-detection" content="address=no">
		<meta name="viewport" content="initial-scale=1, width=device-width, maximum-scale=1, user-scalable=no">
		<link rel="stylesheet" type="text/css" href="../css/style.css"/>
		<script src="../js/jquery.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body style="background:#f6f6f6;">
		<div class="content">
			<header class="page-header1">
				<a href="javascript:;" onClick="javascript:history.back(-1);"><img src="../img/icon_left.png" class="back_img" style="float:left;"/></a>
				<h3>商品管理</h3>
			</header>
			
			<div class="commodity_addition">
				<div class="commodity_addition_list">
					<div class="commodity_addition_lists">
						<div class="commodity_addition_lists_left">商品名称</div>
						<div class="commodity_addition_lists_right">
							<input type="text" name="commodity_name_inp" value="" placeholder="请输入商品名称" class="commodity_name_inp"/>
						</div>
					</div>
					
					<div class="commodity_addition_lists">
						<div class="commodity_addition_lists_left">类型</div>
						<div class="commodity_addition_lists_right">
							<div class="status">
								<div class="consumes">
									<div class="consumes_list_left">
										<div class="timecar-radio">
											<label for="timecar" onselectstart="return false" class="">
												<input type="radio" name="time" id="timecar1" value="1">
											</label>
										</div>
									</div>
									<div class="consumes_list_center">消费</div>
								</div>
								
								<div class="recharges">
									<div class="consumes_list_left">
										<div class="timecar-radio">
											<label for="timecar" onselectstart="return false" class="timecar-radioed">
												<input type="radio" name="time" id="timecar1" value="1">
											</label>
										</div>
									</div>
									<div class="consumes_list_center">充值</div>
								</div>
							</div>
						</div>
					</div>
					
					<div class="commodity_addition_lists">
						<div class="commodity_addition_lists_left">单价(元)</div>
						<div class="commodity_addition_lists_right">
							<input type="text" name="unit_price_inp" value="" placeholder="请输入单价" class="unit_price_inp"/>
						</div>
					</div>
					
					<div class="commodity_addition_lists">
						<div class="commodity_addition_lists_left">赠送(元)</div>
						<div class="commodity_addition_lists_right">
							<input type="text" name="donation_amount_inp" value="" placeholder="请输入赠送金额" class="donation_amount_inp"/>
						</div>
					</div>
				</div>
				
				<div class="commodity_addition_btn">
					<button type="button" class="btn_conserve">保存</button>
				</div>
			</div>
			<div style="clear: both;"></div>
		</div>
	</body>
	<script type="text/javascript">
		$(".timecar-radio label").on('touchstart',function(){
			if($(this).hasClass('timecar-radioed')){
				$(".timecar-radio label").addClass("timecar-radioed");
				$(this).removeClass("timecar-radioed");
			}
		})
	</script>
	
</html>
